package uml.structural.composite;

/**
 * 组合模式--叶子节点构件<br>
 * on 2022/12/25 0:48
 */
public class ImageFile extends LeafFile {
    public ImageFile(String fileName){
        super(fileName);
    }
    @Override
    public void killVirus() {
        System.out.println("^^^^^对图像文件["+this.fileName+"]杀毒");
    }
}
